package com.sys.console.business;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import com.sys.console.pojo.MeunAuthorityTreeJsonDto;
import com.sys.console.pojo.Sys_Role_Authority_Key;

public interface SysRoleAuthorityService {
	
	public int addSysRoleAuthority(Sys_Role_Authority_Key record) throws Exception;
	
	public int saveSysRoleAuthorityByList(List<Sys_Role_Authority_Key> list) throws Exception;
	
	public int deleteSysRoleAuthority(Sys_Role_Authority_Key record) throws Exception;
	
	public abstract ArrayList<Sys_Role_Authority_Key> selectByRidAndMid(Sys_Role_Authority_Key key) throws Exception;
	
	public int saveSysRoleAuthorityByTree(MeunAuthorityTreeJsonDto dto) throws Exception;
	

}
